//
//  UIView+Expannded.m
//  LoginAndRegister
//
//  Created by 张健 on 2021/11/19.
//

#import "UIView+Expannded.h"

@implementation UIView (Expannded)


-(void)shadow:(UIColor *)shadowColor opacity:(CGFloat)opacity radius:(CGFloat)radius offset:(CGSize)offset {
    //给Cell设置阴影效果
    self.layer.masksToBounds = NO;
    self.layer.shadowColor = shadowColor.CGColor;
    self.layer.shadowOpacity = opacity;
    self.layer.shadowRadius = radius;
    self.layer.shadowOffset = offset;
}


@end
